const { read_cfg } = require("../utils/file_tool");
const { BaseCommand } = require("./base");

class ReadCfgCommand extends BaseCommand {
    async execute() {
        const data = this.selfData;
        return await read_cfg(data.src, data.type, data.options);
    }
}

module.exports = {
    ReadCfgCommand,
};
